package com.rede.didiok.rank.dao;

import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rede.didiok.rank.entity.VoteCountEntity;

/**
 * 榜单成员拥有的投票数和点击数
 * 
 * @author Rede
 * @email didiok@foxmail.com
 * @date 2023-07-20 22:09:24
 */
@Mapper
public interface VoteCountDao extends BaseMapper<VoteCountEntity> {

    /**
     * 根据 memberId 查询榜单成员的投票数和反对数
     * @param memberUid
     * @return
     */
    VoteCountEntity selectByMemberUid(String memberUid);
}
